package org.redrider.shop.domain
class Part {
    String partNumber
    String description
    Manufacturer manufacturer
    Float cost
    Float retailPrice
    PartCategory category
    static constraints = {
        partNumber(blank:false)
        description(blank:true)
        manufacturer(nullable:false)
        cost(min:0F)
        retailPrice(min:0F)
        category(nullable:false)
    }
}
